package cn.sxt.yxl.controller.head;
//2计算距离
public class Distence {
	public  double distence(Point p1,Point p2) {
		return Math.sqrt(Math.pow(p1.getX() - p2.getX(),2)+Math.pow(p1.getY() - p2.getY(),2));
	}
}
